package com.tn.dao.rpm;

import com.tn.controller.alarm.common.model.rpm.RpmEventLogDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @ClassName EventLogDAO
 * @Description TODO
 * @Author Yezhongzhu
 * @Date 2021/12/29 14:07
 * @Version v1.0
 **/
@Repository
public interface IEventLogDAO {
    int getTypeById(@Param("id") int id);

    int insert(RpmEventLogDO rpmEventLogDO);

    Integer getIdByTagId(@Param("tagId")String tagId,@Param("type") int type);
}
